package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * QuestionTypeModel
 * 题型分类表
 *
 * @author 郭凯
 * @version 2.0.0
 * @since 2.0.0 2018-11-21 21:10:06
 */
@ApiModel(value = "QuestionTypeModel:题型分类表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class QuestionTypeModel implements Serializable {

    //region 模板逆向生产来自QuestionTypeEntity的属性
    /**
     * id
     */
    @ApiModelProperty(value = "questionType主键")
    @Column(name = "id")
    private String id;
    /**
     * 题型名称
     */
    @ApiModelProperty(value = "题型名称", required = true)
    private String questionTypeName;

    /**
     * 题型简介
     */
    @ApiModelProperty(value = "题型简介")
    private String questionTypeDesc;

    /**
     * 默认分值
     */
    @ApiModelProperty(value = "默认分值")
    private String defaultScore;

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private String questionCode;

    /**
     * 判分类型:0自动,1手动,2智能
     */
    @ApiModelProperty(value = "判分类型:0自动,1手动,2智能", required = true, example = "0")
    private Integer scoreType;

    //endregion

    /* *****************************以下是非模板生成的内容************************************ */
}
